Skip to main content

All Questions

1vote
1answer
1kviews

Bootstrap not loading all styles in rails app

I am trying to load bootstrap styles into a rails app using the bootstrap-sass gem and its documentation here, but when I copy examples from the bootstrap documentation the styles do not load properly....
sam ruditsky's user avatar
1vote
1answer
350views

Bootstrap Navbar pushing page too wide

I can't quite figure out why the navbar is doing this, but I think it started from when I added the collapsable functionality for mobile devices to it. Now, whichever size the screen is the navbar ...
Robert's user avatar
0votes
1answer
608views

NavBar style from Bootstrap 4 not showing in Rails App

NavBar style from Bootstrap 4 is not showing in my Rails app. It looks like this . In my GemFile I am using gem bootstrap-sass. When I switch to gem bootstrap and I delete @import bootstrap-...
SrdjaNo1's user avatar
0votes
1answer
454views

Bootstrap nav bar and Rails 5 malfunctioning, only in mobile production version.

Everything is working perfectly when I view the local Rails app through Chrome dev tools testing for mobile responsiveness. I deployed my code through AWS, and it also works fine when I view the web ...
codingnomad's user avatar
0votes
1answer
459views

Bootstrap Navbar Images not appearing in Rails

I'm having trouble getting images that are files in my application to appear. Right now in it's place is just an icon indicating that their should be an image present. I am specifically working on the ...
ezweizig's user avatar
2votes
3answers
7kviews

"Active" class not working in Bootstrap Navbar

There is another question on this site that is the similar to this one, but unfortunately after trying all of the suggestions following that question, I still haven't found a solution. My Navbar is ...
Robert's user avatar
1vote
3answers
1kviews

bootstrap nav-bar-right floating left

I tried to look out for an answer for my problem but I can't seem to find one. If by any chance there actually is a solution out there, then, I'm sorry, my bad! I seem to be encountering a problem ...
Martin Carre's user avatar
0votes
1answer
405views

Rails, Bootstrap, and FullPage.js navbar navigation only works from first section

I have a rails 5 app, which uses both bootstrap 4 and fullPage.js (for which I've disabled turbolinks). I have a bootstrap navbar which contains links to a couple different sections on the main page. ...
Nathan Lauer's user avatar
-1votes
1answer
700views

Bootstrap navbar displaying vertical not horizontal

There are many threads with a similar problem, but trying the solutions there has not helped me. So the problem is that the navbar displays items vertically not horizontally. Using gem 'bootstrap', '...
Kuulme's user avatar
0votes
1answer
67views

Why is my bootstrap navbar collapsed at any screen size?

I have a navbar partial in views/layouts in Rails app. It is always in this collapsed state, and not even in the right form of collapsing. What am I doing wrong with the code? https://january-app....
Eliza K.'s user avatar
0votes
0answers
208views

Bootstrap 4 pills on navbar disappears on click

I am attempting to add bootstrap 4 pills to my navbar for a rails 5 app, along with a scroll spy. For the most part, this seems to work. However, on the second click, the pills disappear. For example, ...
Nathan Lauer's user avatar
1vote
0answers
197views

Bootstrap logo + navbar items onto same line for mobile view

Goal: Display on mobile the Logo + Navbar items onto the same line. (I don't want these Navbar items inside the navbar-toggle collapsed) 1) The icons('search', 'message', 'globe') began hidden in ...
Dmoy's user avatar
1vote
1answer
857views

Bootstrap affix navbar only works on refresh

I'm trying to create a website for a friend of mine (for learning purposes also). And now I'm trying to create a affix navbar with Bootstrap. (BTW I'm coding on cloud9 using ruby on rails). If I ...
Dacruz's user avatar
0votes
0answers
121views

_cart.html.erb partial not showing in navbar

Im working on a E store in rails. I've a _navbar partial in the partial I've <%= render 'cart' %>. The thing is that this cartpartial doesn't show up in the navbar and I really can't figure out ...
DaudiHell's user avatar
8votes
4answers
6kviews

Hide nav bar and footer on certain pages

I'm building a website for my new company and want to create a landing page for my product that doesn't have a nav bar or a footer. I want to keep the landing page simple and just focus on the product....
Seth Allen's user avatar

153050per page
close